#include "SystemHead.h"

void main()
{
    pid_t pid=fork();
    
    if(pid==0)
    {
        //execl("/bin/ls","ls","-l",NULL);
        //execlp("ls","ls","-l",NULL);
        // static char *env[]={"USER=TEST","PASSWD=123456"};
        // execle("./test","test",NULL,env);
        // char *argv[]={"ls","-l",NULL};
        // execv("/bin/ls",argv);
        // char *argv[]={"ls","-l",NULL};
        // execvp("ls",argv);
        // char *argv[]={"test",NULL};
        // static char *env[]={"USER=TEST","PASSWD=123456"};
        // execve("./test",argv,env);

    }
    else
    {
        printf("i am parent process\n");
    }
}